.class Lcom/estrongs/android/pop/app/PopVideoPlayer$j$b;
.super Ljava/lang/Object;
.source "PopVideoPlayer.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/PopVideoPlayer$j;->onMenuItemClick(Landroid/view/MenuItem;)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Ljava/lang/String;

.field final synthetic b:Z

.field final synthetic c:Lcom/estrongs/android/pop/app/PopVideoPlayer$j;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/PopVideoPlayer$j;Ljava/lang/String;Z)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$b;->c:Lcom/estrongs/android/pop/app/PopVideoPlayer$j;

    iput-object p2, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$b;->a:Ljava/lang/String;

    iput-boolean p3, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$b;->b:Z

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static synthetic a(Les/s80;Z)V
    .locals 0

    if-eqz p1, :cond_0

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p0

    if-eqz p0, :cond_0

    .line 2
    invoke-virtual {p0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->D0()V

    :cond_0
    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 3

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$b;->c:Lcom/estrongs/android/pop/app/PopVideoPlayer$j;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/PopVideoPlayer$j;->a:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->a(Lcom/estrongs/android/pop/app/PopVideoPlayer;)Lcom/estrongs/android/ui/view/ESVideoView;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/ui/view/ESVideoView;->isPlaying()Z

    move-result p1

    if-eqz p1, :cond_0

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$b;->c:Lcom/estrongs/android/pop/app/PopVideoPlayer$j;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/PopVideoPlayer$j;->a:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->a(Lcom/estrongs/android/pop/app/PopVideoPlayer;)Lcom/estrongs/android/ui/view/ESVideoView;

    move-result-object p1

    .line 3
    invoke-virtual {p1}, Lcom/estrongs/android/ui/view/ESVideoView;->e()V

    .line 4
    :cond_0
    :try_start_0
    new-instance p1, Ljava/util/ArrayList;

    const/4 p2, 0x1

    invoke-direct {p1, p2}, Ljava/util/ArrayList;-><init>(I)V

    .line 5
    iget-object p2, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$b;->c:Lcom/estrongs/android/pop/app/PopVideoPlayer$j;

    iget-object p2, p2, Lcom/estrongs/android/pop/app/PopVideoPlayer$j;->a:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {p2}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->t(Lcom/estrongs/android/pop/app/PopVideoPlayer;)Lcom/estrongs/fs/f;

    move-result-object p2

    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$b;->a:Ljava/lang/String;

    invoke-virtual {p2, v0}, Lcom/estrongs/fs/f;->g(Ljava/lang/String;)Lcom/estrongs/fs/g;

    move-result-object p2

    invoke-interface {p1, p2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 6
    new-instance p2, Les/c70;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$b;->c:Lcom/estrongs/android/pop/app/PopVideoPlayer$j;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j;->a:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-static {v0}, Lcom/estrongs/android/pop/app/PopVideoPlayer;->t(Lcom/estrongs/android/pop/app/PopVideoPlayer;)Lcom/estrongs/fs/f;

    move-result-object v0

    const/4 v1, 0x0

    iget-boolean v2, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$b;->b:Z

    invoke-direct {p2, v0, p1, v1, v2}, Les/c70;-><init>(Lcom/estrongs/fs/f;Ljava/util/List;ZZ)V

    .line 7
    sget-object p1, Lcom/estrongs/android/pop/app/n;->a:Lcom/estrongs/android/pop/app/n;

    invoke-virtual {p2, p1}, Les/s80;->a(Les/y80;)V

    .line 8
    new-instance p1, Lcom/estrongs/android/pop/e;

    iget-object v0, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$b;->c:Lcom/estrongs/android/pop/app/PopVideoPlayer$j;

    iget-object v0, v0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j;->a:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-direct {p1, v0}, Lcom/estrongs/android/pop/e;-><init>(Landroid/content/Context;)V

    invoke-virtual {p2, p1}, Les/s80;->a(Les/v80;)V

    .line 9
    invoke-virtual {p2}, Les/s80;->d()V

    .line 10
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$b;->c:Lcom/estrongs/android/pop/app/PopVideoPlayer$j;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/PopVideoPlayer$j;->a:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-virtual {p1}, Landroid/app/Activity;->finish()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 11
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    .line 12
    iget-object p1, p0, Lcom/estrongs/android/pop/app/PopVideoPlayer$j$b;->c:Lcom/estrongs/android/pop/app/PopVideoPlayer$j;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/PopVideoPlayer$j;->a:Lcom/estrongs/android/pop/app/PopVideoPlayer;

    invoke-virtual {p1}, Landroid/app/Activity;->finish()V

    :goto_0
    return-void
.end method
